﻿namespace SharpTrainer
{
    public class Product
    {

        public int ProductID { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }
        public decimal Price { get; set; }
        public string Category { set; get; }

        public override string ToString()
        {
            string format = "Product ID: {0}\nName: {1}\nDescription: {2}\n"
                          + "Price: {3}\nCategory: {4}\n";

            return string.Format(format, ProductID, Name, Description, Price, Category);
        }
    }
}
